package com.ebuy.api.base.exception;


import lombok.Getter;
import lombok.Setter;

/**
 * Created by zhongr on 2017/8/25.
 */
@Getter
@Setter
public class BizException extends RuntimeException {

    private String code;

    public BizException(String message) {
        super(message);
    }

    public BizException(String code,String message) {
        super(message);
        this.code = code;
    }

}
